package com.hu.gulimallproduct.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hu.gulimallcommon.utils.PageUtils;
import com.hu.gulimallproduct.project.entity.PmsAttrEntity;
import com.hu.gulimallproduct.project.vo.PmsAttrRespVO;
import com.hu.gulimallproduct.project.vo.PmsAttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author hbt
 * @email 2188748205@qq.com
 * @date 2024-05-20 12:32:11
 */
public interface PmsAttrService extends IService<PmsAttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(PmsAttrVO pmsAttr);

    PageUtils baseList(Long catelogId,String attrType, Map<String, Object> params);

    void updateDetail(PmsAttrVO pmsAttr);

    PmsAttrRespVO getInfo(Long attrId);

    List<PmsAttrEntity> listRelationAttr(Long attrGroupId);

    PageUtils pageRelationNoAttr(Long attrGroupId, Map<String, Object> params);
}

